﻿using System;

namespace Neitzel.Irc.Client
{
    /// <summary>
    /// EventArg that holds a IrcMessage
    /// </summary>
    public class ChannelEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the IrcMessageEventArgs class.
        /// </summary>
        /// <param name="channel">The channel this message is about.</param>
        public ChannelEventArgs(IrcChannel channel)
        {
            Channel = channel;
        }

        /// <summary>
        /// Gets or sets the IrcChannel that was involved.
        /// </summary>
        public IrcChannel Channel { get; set; }
    }
}
